package com.xinyue.design.strategy.wayOne;

public class StrategySmall implements PriceStrategy{

	@Override
	public double pay(PriceContext priceContext) {
		//小客户算法：给9.5折优惠
		//从context算法管家对象中获取所需数据。
		return priceContext.getPrice() * 0.95;
	}

}
